Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Microsoft Technical Newsgroups > PowerShell

Send access file to ftp server

Closed Thread
 
Thread Tools Display Modes
Old 05-10-2008   #1 (permalink)
Marco
Guest


 

Send access file to ftp server

Hi.

I'm trying without success to send an access file into a ftp server folder.

my script start to upload and stop in command number 150.

The ftp connects to the server, it enter in the specific folder sart to send
the file but stop.

If I use a FTP server I can see that the file is already in the ftp server
folder because the name is there but with zero bytes and it stops.

I have a batch file that calls the commands in a text file.

This is what I have in batch and text file:

Batch: ftp -s:ftp.txt

text file:
open ftp.server.com
usaername
password
Cd folder

MPUT teste.mdb
y

close

quit


this is the log of cmd

ftp> open ftp.server.com
connect to ftp.server.com.
220 Microsoft FTP Service
Utilizador (ftp.server.comnone)):
331 Password required for username.

230 User username logged in.
ftp> CD folder
ftp>
ftp> MPUT teste.mdb
MPUT teste.mdb? y
200 PORT command successful.
150 Opening ASCII mode data connection for teste.mdb.


What is wrong?? PLEASE HELP ME


Regards,
Marco
Old 05-10-2008   #2 (permalink)
Marco Shaw [MVP]
Guest


 

Re: Send access file to ftp server

Marco wrote:
Quote:

> Hi.
>
> I'm trying without success to send an access file into a ftp server folder.
>
> my script start to upload and stop in command number 150.
>
> The ftp connects to the server, it enter in the specific folder sart to send
> the file but stop.
>
> If I use a FTP server I can see that the file is already in the ftp server
> folder because the name is there but with zero bytes and it stops.
>
> I have a batch file that calls the commands in a text file.
>
> This is what I have in batch and text file:
>
> Batch: ftp -s:ftp.txt
>
> text file:
> open ftp.server.com
> usaername
> password
> Cd folder
>
> MPUT teste.mdb
> y
>
> close
>
> quit
>
>
> this is the log of cmd
>
> ftp> open ftp.server.com
> connect to ftp.server.com.
> 220 Microsoft FTP Service
> Utilizador (ftp.server.comnone)):
> 331 Password required for username.
>
> 230 User username logged in.
> ftp> CD folder
> ftp>
> ftp> MPUT teste.mdb
> MPUT teste.mdb? y
> 200 PORT command successful.
> 150 Opening ASCII mode data connection for teste.mdb.
>
>
> What is wrong?? PLEASE HELP ME
>
>
> Regards,
> Marco
Does it work if you try it from DOS exactly like that?

Just trying to determine if it's a passive vs. active file transfer
problem...

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
Closed Thread

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow file access from domain server Bill Vista networking & sharing 5 02-02-2008 10:44 AM
Access to a windows 2003 server or 2000 server is too slowly Nuno Azevedo Vista networking & sharing 1 11-09-2007 11:04 AM
Server File Access Denied Triage Vista networking & sharing 0 10-31-2007 03:25 PM
Access 2007 won't Operate Access 2002 File Ed K Vista installation & setup 2 10-29-2007 10:38 PM
Access File Mistakenly typed as a Access Shortcut Q Vista installation & setup 7 07-04-2007 08:21 AM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50