Lines Matching refs:fs

35 		$fs = stream_socket_accept($soc, 3);
40 fputs($fs, "I am passive.\r\n");
43 file_put_contents($tmp_file, stream_get_contents($fs));
46 fputs($fs, "drwxr-x--- 3 owner group 4096 Jul 12 12:16 .\r\n");
47 fputs($fs, "drwxr-x--- 3 owner group 4096 Jul 12 12:16 ..\r\n");
48 fputs($fs, "drwxr-x--- 3 owner group 4096 Jul 12 12:16 public_ftp\r\n");
51 fputs($fs, "\r\n");
54 fclose($fs);
236 if (!$fs = stream_socket_client("tcp://$host:$port")) {
241 $data = stream_get_contents($fs);
256 fclose($fs);
275 if (!$fs = stream_socket_client("tcp://$host:$port")) {
280 $data = stream_get_contents($fs);
283 fclose($fs);
285 $data = stream_get_contents($fs);
288 fclose($fs);
315 if (!$fs = stream_socket_client("tcp://$host:$port")) {
321 $fs=$pasvs;
330 fputs($fs, "file1\r\nfile1\r\nfile\nb0rk\r\n");
334 fclose($fs);
371 else if (!$fs = stream_socket_client("tcp://$host:$port")) {
386 fputs($fs, "For sale: baby shoes, never worn.\r\n");
392 fputs($fs, $transfer_type."Foo\0Bar\r\n");
398 fputs($fs, $transfer_type."FooBar\r\n");
404 fputs($fs, "Bar\r\n");
411 fputs($fs, "X");
413 fputs($fs, "Y");
420 fputs($fs, "This is line $i of the test data.\n");
432 if(isset($fs))
433 fclose($fs);
514 if(!$fs = stream_socket_client("tcp://$host:$port")) {
520 $fs = $pasvs;
528 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=cdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
529 …fputs($fs, "modify=20170127230002;perm=flcdmpe;type=pdir;unique=811U4340002;UNIX.group=33;UNIX.mod…
530 …fputs($fs, "modify=20170126121225;perm=adfrw;size=4729;type=file;unique=811U4340CB9;UNIX.group=33;…
531 fputs($fs, "fact=val=ue;empty=; path;name\r\n");
532 fputs($fs, "no_space\r\n");
533 fputs($fs, "no_semi pathname\r\n");
534 fputs($fs, "no_eq; pathname\r\n");
538 fclose($fs);