Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Incomplete File Transfered

Status
Not open for further replies.

dberk99

Programmer
Jan 23, 2004
1
US
I a uploading a file to a dial-up FTP site. If file is small
it works OK, however if file is more than 300 lines it is
uploaded incomplete, but yet log shows right number of bytes
transferred.

Any ideas why this is happening.

TIA
 
Are you looping on $FTPCONNECT so that no further commands are executed until the transfer is complete? You can take a look at the below script, which shows a better way to script FTP transfers than what is in the help file:


I also have some additional details on this script on my samples page if you need some more information on what the script is doing.


aspect@aspectscripting.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top