Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
95 user(s) are online (49 user(s) are browsing Forums)

Members: 0
Guests: 95

more...

Headlines

 
  Register To Post  

FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
I've been trying to upload a large (10MB) file to Aminet, OS4Depot & my own web server using FTP Mount, and in all cases it's freezing-up once it's uploaded 3.5MB or less.

Strangely I can still upload fine to my local PC via FTP (usually!), so it may be some kind of race condition in FTP Mount that's triggered by slow data transfer & OS4.1 FE timings...

Can anyone else confirm this behaviour?


Edited by ChrisH on 2015/12/6 18:31:40
Author of the PortablE programming language.
Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Amigans Defender
Amigans Defender


See User information
@ChrisH

NetSurf is 5.5MB and I uploaded that to Aminet back in March, using OS4.1FE and FTPMount.

Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
@ChrisH

SFTP?

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
@ChrisH

AmiFTP, pFTP?

People are dying.
Entire ecosystems are collapsing.
We are in the beginning of a mass extinction.
And all you can talk about is money and fairytales of eternal economic growth.
How dare you!
– Greta Thunberg
Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
I have not tried SFTP, AmiFTP, nor pFTP, but I assume they do not provide a virtual AmigaDOS volume that can be accessed with an AmigaDOS script/etc?

I guess I might have to upload via FTP manually (using one of those programs), but would prefer scripting it if possible...

Author of the PortablE programming language.
Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Quite a regular
Quite a regular


See User information
@ChrisH

The plain "ftp" command can be scripted by redirecting STDIN using <. You might need to make sure that the script doesn't exit while uploading (i.e ftp doesn't encounter EOF with STDIN), as that could cause the program to abort.

Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
@ChrisH

If you want scripting support for FTP access, then try perl.

An example I'm using to put a single file to my postscript printer via ftp.

#!perl -w

#
# Minimal script to put a single file to printer (or any ftp server!
#
use strict;
use 
net::FTP;
use 
File::Basename;

#
# Configuration options
#

my $printerdomain "printer";
my $username "anon";
my $password "bar";

#
# Usage
#

die "Usage $0 <filetoprint>\n" unless $#ARGV == 0;

my $filetoprint $ARGV[0];


#
# Connect to printer
#

my $ftp Net::FTP->new($printerdomain,Timeout => 600) or die "Can't connect to $printerdomain";

$ftp->login($username,$password) or die "Can't login "$ftp->message;

#
# Defintely a good idea to use binary here
#

$ftp->binary();

my ($dir,$basename,$suffix) = File::Basename::fileparse($filetoprint);

$ftp->put($filetoprint,$basename);

$ftp->close();

print 
$ftp->message;


AS to FTPMount: I haven't used it for quite a while, but it worked last I tried it, are yoiu sure no config options got overwritten when you upgraded to FE? Infact I just uploaded a 36 Mb file to my website with FTP: so it works for me.


Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Just can't stay away
Just can't stay away


See User information
@ChrisH

If you use Dopus5 you could knock up an arexx script to use it's FTP or as I have done, create a button to login and open a lister.

Add the ftp details to the ftp address book then use:

[command] ftpconnect site (name in address book) eg.

FTPConnect site Aminet

you could add some lines after that to copy the files.

Amiga user since 1985
AOS4, A-EON, IBrowse & Alinea Betatester

Ps. I hate the new amigans website. <shudder>
Go to top
Re: FTP Mount no-longer uploading large files on OS4.1 Final Edition?
Home away from home
Home away from home


See User information
This new(ish) utility looks like exactly what I was looking for:
http://os4depot.net/index.php?functio ... le=network/ftp/upload.lha

It's worked on 1 of my FTP sites, and failed on another one. Sadly no output at all, so hard to tell what's going on, how far it has got uploading, or why it got stuck.

I assume it will work on OS4depot (as that is the example the docs use) and Aminet, in which case it will solve most of my FTP upload problems... Actually it's not perfect, since I'd like to have the option for the target filename to be different from the source filename.

The author appears to be Tuomas Hokka... Anyone know how to contact him?

Author of the PortablE programming language.
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project